﻿using System.Threading.Tasks;

namespace JuCheap.Store.DataService
{
    public interface IBaseDataService<T>
    {
        /// <summary>
        /// 单个添加
        /// </summary>
        /// <param name="entity">实体</param>
        /// <returns></returns>
        Task<string> InsertAsync(T entity);
    }
}
